<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>我的求购-{$tpshop_config['shop_info_store_title']}</title>
    <meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
    <meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
    <link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
    <link rel="stylesheet" href="__STATIC__/css/myuser.css" type="text/css">
</head>

<body>
<!--------头部开始-------------->
<include file="Public/header" />
<include file="Public/topnav" />
<!--------头部结束-------------->

<div class="page_pad">
  <div class="page_margin">
    <div class="page_radius page_hidden">
      <div class="page_padin">
        <div class="user_page">
          <div class="user_poi">当前位置：首页 &gt; <span>我的求购</span></div>
          <div class="user_left">
            <include file="User/userleft" />
          </div><!--user_left-->

          <div class="user_right">
            <div class="order_page">
              <div class="uright_tabs">
                <ul>
                  <li><a class="on" href="javascript:void(0)">我的求购</a></li>
                  <div class="clear"></div>
                </ul>
              </div>
              
              <div class="complain_page">
                <div class="sellpad"><div class="seller_tit"><p>您的需求：<if condition="$info[xtype] eq 2">我要卖店<else/>我要买店</if></p></div></div>
                <div class="sellpad"><div class="seller_tit"><p>提交时间： {$info.add_time|date='Y-m-d H:i:s',###}</p></div></div>
                <if condition="$info[admin_id] gt 0">
                  <div class="sellpad"><div class="seller_tit"><p>你的需求跟工作人员信息：{$info.admin_id|get_sales_name}({$info.admin_id|get_sales_mobile})</p></div></div>
                </if>

                <!--<div class="sellpad"><div class="seller_tit"><p>您的姓名：撒大声地</p></div></div>-->
                <!--<div class="sellpad"><div class="seller_tit"><p>您的手机：13164641564</p></div></div>-->
                <!--<div class="sellpad"><div class="seller_tit"><p>您的QQ：65431546</p></div></div>-->
                <div class="sellpad"><div class="seller_tit"><p>您的需求</p></div></div>
                <div class="sellpad">
                  <div class="user_content">
                    {$info.content}
                  </div>
                </div>
                <div class="sellpad"><a class="gbutton gbutton_col1" href="{:U('Home/User/my_ask_buy')}">返回</a> <a class="gbutton gbutton_col2" style="margin-left:10px;" href="javascript:void(0)" onclick="del_info({$info.id})">删除求购</a></div>
              </div><!--complain_page-->
            </div><!--order_page-->
          </div><!--user_right-->
          <div class="clear"></div>
        </div><!--user_page-->
      </div><!--page_padin-->
    </div><!--page_radius-->
  </div><!--page_margin-->
</div><!--page_pad-->

<script>
function del_info(id)
{
	layer.confirm('确定删除吗？', {
		title: "提示",
		btn: ['确定','取消'] //按钮
		}, function(){
			location.href = "/index.php?m=Home&c=User&a=delete_ask_buy&id="+id;
		}
	);
}
</script>

<!--------footer-开始-------------->
<include file="Public/footer" />
<!--------footer-结束-------------->

</body>
</html>